﻿using System;

namespace Ecobee.Net
{
	/// <summary>
	/// General catch-all error for a number of internal errors. Additional info may 
	/// be provided in the message. Check your request. Contact support if persists.
	/// </summary>
	public class ProcessingError : ResponseCodeException
	{
		/// <summary>
		/// Initializes a new instance of the Ecobee.Net.ProcessingError class.
		/// </summary>
		public ProcessingError(Exception innerException)
			: base(3, innerException, "Unknown issue or condition caused a failure.")
		{
		}
	}
}
